package com.nzw.dao.member;

import com.nzw.common.Constant;
import com.nzw.pojo.member.User;
import com.nzw.vo.common.PageData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface MemberDao {


	List<User> getUserBycondition(Map<String,Object> map);
	/**
	 * 分页获取user
	 * @param pageData
	 * @return
	 */
	List<User> getUserListWithPage(@Param(Constant.RESULTS_PAGE)PageData pageData);
	
	Map<String,Object> findUserById(Long id);
	
	void addUser(User user);
	
	//Boolean deleteUserById(Long id);
	
	void updateUser(User user);
	
	
}
